package com.zzyl.job;

import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @version 1.0
 * @Author wql
 * @Date 2024/6/23
 * @Description
 */
@Component("myTask")
public class MyTask {
    public void task(){
        System.out.println("我的任务执行了"+ LocalDateTime.now());
    }
}
